#include <iostream>
#include <fstream>

using namespace std;
//using namespace fstream;

int main ()
{
	fstream fs;
	fs.open ("memstat.txt", ios::in | ios::out | ios::app);
	int a = 1000;
	fs << a  << endl;
	fs.close();
	return 0;
}
